#ifndef ARENA_H
#define ARENA_H

#include <QGraphicsScene>
#include <QPixmap>
#include <QGraphicsItem>
#include "ca-pathfinding/grids/grid.h"
#include "wall.h"
#include "purgatory.h"
#include "objective.h"
#include "bullet.h"


class Arena : public QGraphicsScene
{
public:
    Arena();
    Grid* grid;
    Purgatory* purgatory;
    std::vector<QGraphicsItem*> rects;

    void setBackground(const QPixmap&);
    void buildGrid();
    void buildLevel(int level);
    void addPurgatory(Purgatory* p);
    void addPlayer(Player*,int,int);
    void addPackage(Package*,int,int);
    void addWall(Wall*,int,int,bool);
    void addObjective(Objective*,int,int);
    void addBullet(Bullet* o);
};

#endif // ARENA_H
